<?php

namespace App;

use Illuminate\Database\Eloquent\Model;

class Subject extends Model
{
    protected $guarded = [];

    public function sorts()
    {
        return $this->belongsTo('App\SubjectSort', 'sort');
    }

    public function describes()
    {
        return $this->belongsTo('App\Describe', 'describe');
    }
}
